var HtmlWebpackPlugin = require('html-webpack-plugin');
var path = require('path');
module.exports = {
  entry: './src/main.js',
  output: {
    //path: __dirname + '/dist/basic' ,
    path:path.resolve(__dirname,'dist/'),
    filename: 'bundle.js'
  },
  module: {
    loaders:[
      { test: /\.css$/, loader: 'style-loader!css-loader' },
    ]
  },
  plugins: [new HtmlWebpackPlugin({
        title: 'My App',
        filename: 'index.html'
    })
  ]
};


